﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HOOMT
{
    public partial class MethodAddDialog : Form
    {
        public MethodAddDialog()
        {
            InitializeComponent();
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
        }

        private void AttributeAddForm_Load(object sender, EventArgs e)
        {
            accessModifier.Items.Add("public");
            accessModifier.Items.Add("protected");
            accessModifier.Items.Add("private");
            accessModifier.SelectedIndex = 0;
        }
        
        public ComboBox ParentMethodCombox
        {
        get { return parentMethodCombox; }
        set { parentMethodCombox = value; }
        }
        public String AccessModifier
        {
            get{return accessModifier.Text;}
            set{accessModifier.Text = value;}
        }
        public String ReturnType
        {
            get{return returnType.Text;}
            set{returnType.Text = value;}
        }
        public String MethodName
        {
            get{return methodName.Text;}
            set{methodName.Text = value;}
        }
        public String ParameterList
        {
            get{return parameterList.Text;}
            set{parameterList.Text = value;}
        }
        public String Description
        {
            get{return descriptionBox.Text;}
            set{descriptionBox.Text = value;}
        }
    }
}
